<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>审核</title>
  <link rel="shortcut icon" href="配置_config.png" type="image/x-icon">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="component/elementUI/index.css">
  <link rel="stylesheet" href="style/wangeditor.css">
  <link rel="stylesheet" href="style/index.css">
  <style>
    /* 头像 */
    .el-avatar{
      height: 100px;
      width: 100px;
      margin: 20px 70px;
    }
    .daohang{
      width: 250px;
      height: 880px;
      background-color: rgb(84, 92, 100);
      float: left;
    } 
    /* .el-menu-vertical-demo{
      width: 250px;
    } */
     
     /* 管理员名字 */
    .textg{
      display: block;
      text-align: center;
      color: rgb(255, 240, 240);
      font-weight:800;
      margin-bottom: 40px;
    }
    .you{
      margin-left: 280px;
      background-color: rgb(228, 228, 228);
      height: 880px !important;
    }
    /* .ka{
      margin: 0px 50px 5px 50px;
    } */

    /* 切换 */
    .el-tabs__nav-wrap{
      background-color: rgb(255, 255, 255);
    }

    .el-tabs__item{
      font-size: 18px;
    }
    .el-tabs__nav-scroll{
      margin: 10px 30px;
    }
    /* .el-tab-pane{
      background-color: aquamarine;
      height: 800px !important;
    } */
    .xinzeng{
      margin-left: 30px;
      margin-right: 30px;
      float: left;
    }
    .fenye{
  
      margin-top: 10px;
      position:fixed;
      top: 92%;
      margin-top: 10px;
      margin-left: 30%;
    }
    .zhengtou{
      margin-left: 30px;
    }
  </style>
<body>
  <div id="app">
    
    <div class="daohang">
      <!-- 头像 -->
      <el-avatar shape="square" :size="size" :src="squareUrl"></el-avatar>
      <!-- 文字 -->
      <span class="textg">管理员</span>
      <!-- 导航 -->
    <el-menu
    default-active="3"
    class="el-menu-vertical-demo"
    @open="handleOpen"
    @close="handleClose"
    background-color="#545c64"
    text-color="#fff"
    active-text-color="#ffd04b">
    <el-menu-item index="1">
      <i class="el-icon-s-home"></i>
      <span slot="title">首页</span>
    </el-menu-item>
    <el-submenu index="2">
      <template slot="title">
        <i class="el-icon-s-data"></i>
        <span>活动管理</span>
      </template>
      <el-menu-item-group>
        <el-menu-item index="2-1">活动用户</el-menu-item>
        <el-menu-item index="2-2">活动数据</el-menu-item>
        <el-menu-item index="2-3">自定义活动</el-menu-item>
      </el-menu-item-group>
    </el-submenu>
    <el-menu-item index="3">
      <i class="el-icon-s-shop"></i>
      <span slot="title">商铺管理</span>
    </el-menu-item>
    <el-submenu index="4">
      <template slot="title">
        <i class="el-icon-s-custom"></i>
        <span>用户管理</span>
      </template>
      <el-menu-item-group>
        <el-menu-item index="4-1"><a href="用户详情.html">用户详情</a></el-menu-item>
        <el-menu-item index="4-2"><a href="用户数据.html">用户数据</a></el-menu-item>
      </el-menu-item-group>
    </el-submenu>
    <el-menu-item index="5">
      <i class="el-icon-view"></i>
      <span slot="title">订单监控</span>
    </el-menu-item>
    <el-menu-item index="6">
      <i class="el-icon-sell"></i>
      <span slot="title">商品管理</span>
    </el-menu-item>
    <el-menu-item index="7">
      <i class="el-icon-coin"></i>
      <span slot="title">对账系统</span>
    </el-menu-item>
    <el-menu-item index="7">
      <i class="el-icon-s-marketing"></i>
      <span slot="title">合作维护</span>
    </el-menu-item>
  </el-menu>
    </div>


    <!-- 待审核 -->
   <div class="you">
    <template class="ka">
      <el-tabs v-model="activeName" @tab-click="toushen1">
        <el-tab-pane label="待审核" name="first">
          <el-button type="primary" class="xinzeng"  @click="dialogFormVisible = true">新增</el-button>
          <el-form :inline="true" :model="formInline" class="demo-form-inline">
            <el-form-item label="商铺名称">
              <!-- required 必填 -->
              <el-input v-model="formInline.user" placeholder="商铺名称"></el-input>
            </el-form-item>
            <el-form-item label="商铺地址">
              <el-input v-model="formInline.user" placeholder="商铺地址"></el-input>
            </el-form-item>
            <el-form-item label="入驻时间">
              <el-col :span="11">
                <el-form-item prop="date1">
                  <el-date-picker type="date" placeholder="选择日期" v-model="ruleForm.date1" style="width: 100%;"></el-date-picker>
                </el-form-item>
              </el-col>
              <el-col class="line" :span="2">-</el-col>
              <el-col :span="11">
                <el-form-item prop="date2">
                  <el-time-picker placeholder="选择时间" v-model="ruleForm.date2" style="width: 100%;"></el-time-picker>
                </el-form-item>
              </el-col>
            </el-form-item>
            <el-button type="info">重置</el-button>
            <el-button type="primary">查询</el-button>
          </el-form>
        
        


       <!-- 表格 --> 
        <div class="biao">
        <template>
          <!-- 每页显示几条数据 -->
          <el-table
            :data="tableData.slice((currentPage-1)*pagesize,currentPage*pagesize)"
            border
            class="biao"
            style="width: 100%">
            <el-table-column
              fixed
              prop="date"
              label="入驻日期"
              width="230">
            </el-table-column>
            <el-table-column
              prop="name"
              label="商铺名称"
              width="220">
            </el-table-column>
            <el-table-column
              prop="pname"
              label="联系人"
              width="100">
            </el-table-column>
            <el-table-column
              prop="pon"
              label="电话"
              width="200">
            </el-table-column>
            <el-table-column
              prop="address"
              label="地址"
              width="570">
            </el-table-column>
            <el-table-column
              prop="shen"
              label="审核状态"
              width="100">
            </el-table-column>
            <el-table-column
              fixed="right"
              label="操作"
              width="150">
              <template slot-scope="scope">
                <el-button @click="handleClick(scope.row)" type="text" size="small">审核</el-button>
                <el-button type="text" size="small" @click="san(scope.row)">拒绝</el-button>
              </template>
            </el-table-column>
          </el-table>
        </template>
        </div>
        

        <el-dialog title="新商铺添加" :visible.sync="dialogFormVisible">
          <el-form :model="form">
            <el-form-item label="店铺名称" :label-width="formLabelWidth">
              <el-input v-model="form.name" autocomplete="off"></el-input>
            </el-form-item>
            <el-form-item label="联系人" :label-width="formLabelWidth">
              <el-input v-model="form.pname" autocomplete="off"></el-input>
            </el-form-item>
            <el-form-item label="电话" :label-width="formLabelWidth">
              <el-input v-model="form.pon" autocomplete="off"></el-input>
            </el-form-item>
            <el-form-item label="店铺地址" :label-width="formLabelWidth">
              <el-select v-model="form.addressa" placeholder="请选择街道">
                <el-option label="南岗区" value="南岗区"></el-option>
                <el-option label="香坊区" value="香坊区"></el-option>
                <el-option label="道里区" value="道里区"></el-option>
              </el-select>
              <el-select v-model="form.addressb" placeholder="请选择社区">
                <el-option label="赣水路" value="赣水路"></el-option>
                <el-option label="珠江路" value="珠江路"></el-option>
                <el-option label="嵩山路" value="嵩山路"></el-option>
              </el-select>
              <el-select v-model="form.addressc" placeholder="请选择楼号">
                <el-option label="1号" value="1号"></el-option>
                <el-option label="2号" value="2号"></el-option>
                <el-option label="3号" value="3号"></el-option>
              </el-select>
            </el-form-item>
          </el-form>
          <div slot="footer" class="dialog-footer">
            <el-button @click="dialogFormVisible = false">取 消</el-button>
            <el-button type="primary" @click="xinque()">确 定</el-button>
          </div>
        </el-dialog>



        <!-- 弹出商铺信息 -->
        <el-dialog :visible.sync="dialogFormVisible1">
          <el-form :model="form">
            <el-descriptions title="商铺信息">
              <el-descriptions-item label="商铺名称">{{ xin.name}}</el-descriptions-item>
              <el-descriptions-item label="联系人" >{{xin.pname}}</el-descriptions-item>
              <el-descriptions-item label="手机号">{{ xin.pon}}</el-descriptions-item>
              <el-descriptions-item label="备注">
                <el-tag size="small">{{ xin.shen }}</el-tag>
              </el-descriptions-item>
              <el-descriptions-item label="居住地" >哈尔滨市</el-descriptions-item>
              <el-descriptions-item label="联系地址">{{ xin.address }}</el-descriptions-item>
          </el-descriptions>
          </el-form>
          <div slot="footer" class="dialog-footer">
            <el-button @click="dialogFormVisible1 = false">取 消</el-button>
            <el-button type="primary" @click="tongguo()">通过</el-button>
          </div>
        </el-dialog>
        <div class="fenye">
          <el-pagination
          @size-change="handleSizeChange"
          @current-change="handleCurrentChange"
          :current-page="currentPage"
          :page-sizes="[10, 20, 30, 40]"
          :page-size="pagesize"
          layout="total,sizes,prev,pager,next"
          :total="tableData.length">
          </el-pagination>
        </div>
        </el-tab-pane>

     

        <!-- 已审核 -->
        <el-tab-pane label="已审核" name="second">
          <el-form :inline="true" :model="formInline" class="zhengtou">
            <el-form-item label="商铺名称">
              <!-- required 必填 -->
              <el-input v-model="formInline.user" placeholder="商铺名称"></el-input>
            </el-form-item>
            <el-form-item label="商铺地址">
              <el-input v-model="formInline.user" placeholder="商铺地址"></el-input>
            </el-form-item>
            <el-form-item label="入驻时间">
              <el-col :span="11">
                <el-form-item prop="date1">
                  <el-date-picker type="date" placeholder="选择日期" v-model="ruleForm.date1" style="width: 100%;"></el-date-picker>
                </el-form-item>
              </el-col>
              <el-col class="line" :span="2">-</el-col>
              <el-col :span="11">
                <el-form-item prop="date2">
                  <el-time-picker placeholder="选择时间" v-model="ruleForm.date2" style="width: 100%;"></el-time-picker>
                </el-form-item>
              </el-col>
            </el-form-item>
            <el-button type="info">重置</el-button>
            <el-button type="primary">查询</el-button>
          </el-form>
       <!-- 表格 --> 
        <div>
        <template>
          <!-- 每页显示几条数据 -->
          <el-table
            :data="tableData2.slice((currentPage-1)*pagesize,currentPage*pagesize)"
            border
            style="width: 100%">
            <el-table-column
              fixed
              prop="date"
              label="入驻日期"
              width="230">
            </el-table-column>
            <el-table-column
              prop="name"
              label="商铺名称"
              width="220">
            </el-table-column>
            <el-table-column
              prop="pname"
              label="联系人"
              width="100">
            </el-table-column>
            <el-table-column
              prop="pon"
              label="电话"
              width="200">
            </el-table-column>
            <el-table-column
              prop="address"
              label="地址"
              width="570">
            </el-table-column>
            <el-table-column
              prop="shen"
              label="审核状态"
              width="100">
            </el-table-column>
            <el-table-column
              fixed="right"
              label="操作"
              width="150">
              <template slot-scope="scope">
                <el-button @click="handleClick2(scope.row)" type="text" size="small">重新审核</el-button>
                <el-button type="text" size="small" @click="san2(scope.row)">拒绝</el-button>
              </template>
            </el-table-column>
          </el-table>
        </template>
        </div>
        <el-dialog :visible.sync="dialogFormVisible2">
          <el-form :model="form">
            <el-descriptions title="商铺信息">
              <el-descriptions-item label="商铺名称">{{ xin.name}}</el-descriptions-item>
              <el-descriptions-item label="联系人" >{{xin.pname}}</el-descriptions-item>
              <el-descriptions-item label="手机号">{{ xin.pon}}</el-descriptions-item>
              <el-descriptions-item label="备注">
                <el-tag size="small">{{ xin.shen }}</el-tag>
              </el-descriptions-item>
              <el-descriptions-item label="居住地" >哈尔滨市</el-descriptions-item>
              <el-descriptions-item label="联系地址">{{ xin.address }}</el-descriptions-item>
          </el-descriptions>
          </el-form>
          <div slot="footer" class="dialog-footer">
            <el-button @click="dialogFormVisible2 = false">取 消</el-button>
            <el-button type="primary" @click="tongguo2()">拒绝</el-button>
          </div>
        </el-dialog>
        <div class="fenye">
          <el-pagination
          style="margin-bottom: 3px"
          @size-change="handleSizeChange"
          @current-change="handleCurrentChange"
          :current-page="currentPage"
          :page-sizes="[10, 20, 30, 40]"
          :page-size="pagesize"
          layout="total,sizes,prev,pager,next"
          :total="tableData2.length">
          </el-pagination>
        </div>
        </el-tab-pane>

        <!-- 拒绝审核 -->
        <el-tab-pane label="拒绝审核" name="third">
          <el-form :inline="true" :model="formInline" class="zhengtou">
            <el-form-item label="商铺名称">
              <!-- required 必填 -->
              <el-input v-model="formInline.user" placeholder="商铺名称"></el-input>
            </el-form-item>
            <el-form-item label="商铺地址">
              <el-input v-model="formInline.user" placeholder="商铺地址"></el-input>
            </el-form-item>
            <el-form-item label="入驻时间">
              <el-col :span="11">
                <el-form-item prop="date1">
                  <el-date-picker type="date" placeholder="选择日期" v-model="ruleForm.date1" style="width: 100%;"></el-date-picker>
                </el-form-item>
              </el-col>
              <el-col class="line" :span="2">-</el-col>
              <el-col :span="11">
                <el-form-item prop="date2">
                  <el-time-picker placeholder="选择时间" v-model="ruleForm.date2" style="width: 100%;"></el-time-picker>
                </el-form-item>
              </el-col>
            </el-form-item>
            <el-button type="info">重置</el-button>
            <el-button type="primary">查询</el-button>
          </el-form>

      <!-- 已拒绝的 -->
       <!-- 表格 --> 
        <div>
        <template>
          <!-- 每页显示几条数据 -->
          <el-table
            :data="tableData3.slice((currentPage-1)*pagesize,currentPage*pagesize)"
            border
            style="width: 100%">
            <el-table-column
              fixed
              prop="date"
              label="入驻日期"
              width="230">
            </el-table-column>
            <el-table-column
              prop="name"
              label="商铺名称"
              width="220">
            </el-table-column>
            <el-table-column
              prop="pname"
              label="联系人"
              width="100">
            </el-table-column>
            <el-table-column
              prop="pon"
              label="电话"
              width="200">
            </el-table-column>
            <el-table-column
              prop="address"
              label="地址"
              width="570">
            </el-table-column>
            <el-table-column
              prop="shen"
              label="审核状态"
              width="100">
            </el-table-column>
            <el-table-column
              fixed="right"
              label="操作"
              width="150">
              <template slot-scope="scope">
                <el-button @click="handleClick3(scope.row)" type="text" size="small">重新审核</el-button>
                <el-button type="text" size="small" @click="san(scope.row)">删除</el-button>
              </template>
            </el-table-column>
          </el-table>
        </template>
        </div>
        
        <!-- 商铺信息3 -->
        <el-dialog :visible.sync="dialogFormVisible3">
          <el-form :model="form">
            <el-descriptions title="商铺信息">
              <el-descriptions-item label="商铺名称">{{ xin.name}}</el-descriptions-item>
              <el-descriptions-item label="联系人" >{{xin.pname}}</el-descriptions-item>
              <el-descriptions-item label="手机号">{{ xin.pon}}</el-descriptions-item>
              <el-descriptions-item label="备注">
                <el-tag size="small">{{ xin.shen }}</el-tag>
              </el-descriptions-item>
              <el-descriptions-item label="居住地" >哈尔滨市</el-descriptions-item>
              <el-descriptions-item label="联系地址">{{ xin.address }}</el-descriptions-item>
          </el-descriptions>
          </el-form>
          <div slot="footer" class="dialog-footer">
            <el-button @click="dialogFormVisible3 = false">取 消</el-button>
            <el-button type="primary" @click="tongguo3()">通过</el-button>
          </div>
        </el-dialog>


        <div class="fenye">
          <el-pagination
          style="margin-bottom: 3px"
          @size-change="handleSizeChange"
          @current-change="handleCurrentChange"
          :current-page="currentPage"
          :page-sizes="[10, 20, 30, 40]"
          :page-size="pagesize"
          layout="total,sizes,prev,pager,next"
          :total="tableData3.length">
          </el-pagination>
        </div>
        </el-tab-pane>
    </template>
   </div>
    
    


  </div>
</body>
<script src="https://cdn.jsdelivr.net/npm/@svgdotjs/svg.js@3.0/dist/svg.min.js"></script>
<script type="text/javascript" src="utils/wangeditor.js"></script>
<script type="text/javascript" src="utils/jquery.min.js"></script>
<script type="text/javascript" src="utils/jquery.cookie.js"></script>
<script type="text/javascript" src="utils/vue.min.js"></script>
<script type="text/javascript" src="utils/vuex.min.js"></script>
<script type="text/javascript" src="component/elementUI/index.js"></script>
<script type="text/javascript" src="component/component.js"></script>
<script type="text/javascript" src="config/config.js"></script>
<script type="text/javascript" src="utils/FileSaver.min.js"></script>
<script type="text/javascript" src="utils/FileSaver.js"></script>
<script type="text/javascript" src="utils/xlsx.full.min.js"></script>
<script type="text/javascript" src="utils/xlsx.core.min.js"></script>
<script type="text/javascript" src="utils/compressor.js"></script>
<script type="text/javascript" src="utils/ID_Validity.js"></script>
<script type="text/javascript" src="utils/utils.js"></script>
<script>

          /**
 * 获取日期 年-月-日 时:分:秒
 * @returns {}
 */
function getYMDHMSDate(oDate) {
    if (oDate != null) {
       var data = new Date(oDate);
    } else {
        var data = new Date();
    }
    let m = data.getMonth() + 1;
    let d = data.getDate();
    let H = data.getHours();
    let M = data.getMinutes();
    let S = data.getSeconds();
    if (m < 10) {
        m = "0" + m
    }
    if (d < 10) {
       d = "0" + d
    }
    if (H < 10) {
        H = "0" + H
    }
    if (M < 10) {
       M = "0" + M
    }
    if (S < 10) {
        S = "0" + S
    }
    return data.getFullYear() + "-" + m + "-" + d + " " + H + ":" + M + ":" + S
}


   var a = new Vue({
    el: '#app',
    data() {
      return{ 
        message:'111',
        tableData3:[],
        tableData2:[],
        name:1,
        // 从后端获取到的所有表格数据
        sourceTableData: [],
        // 页面要显示的表格数据
        tableData: [],
        // 分页信息
        pageinfo: {
          page: 1,
        size: 10,
        total: 0,
        },
        size:["large"],
        squareUrl: "头像.jpg",
        activeName: 'first',
        currentPage: 1,
        pagesize:11,
        ruleForm: {
          name: '',
          region: '',
          date1: '',
          date2: '',
          delivery: false,
          type: [],
          resource: '', 
          desc: '',
          },
        dialogFormVisible: false,
        dialogFormVisible1: false,
        dialogFormVisible2: false,
        dialogFormVisible3: false,
        form: {
          date:'',
          name: '',
          pname: '',
          pon:'',
          addressa:'',
          addressb:'',
          addressc:'',
          address:'',
          shen:'待审核'
          },
        xin:{
          name: '',
          pname: '',
          pon:'',
          address:'',
          shen:''
          },
        add:[],
        formLabelWidth: '120px',
        tableData: [{
          date: '2016-05-02',
          name: '和暖心超市',
          pname: '喻雯楠',
          pon: '13236743199',
          address: '上海市普陀区金沙江路 1518 弄',
          shen:'待审核'
        }],
        formInline: {
          user: '',
          region: ''
        }
        }
    },
    mounted() {   
      //1.获取带原值的数据
      //3.调用通用修改方法，将修改后的数据传过去
      //2.根据修改该数据
      console.log(this.add);
      
      //查询
      this.getList();
      this. getList2();
      this. getList3();
  },
    methods: {
      getList(){
        $.ajax({
          headers:{
            'Content-Type':'application/x-www-form-urlencoded',
            Accesstoken:'eyJraWQiOiJteS1rZXktaWQiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiIxNTA0NjAwNjEyMCIsImF1ZCI6ImFwaS5leGFtcGxlLmNvbSIsImlzcyI6ImF1dGguZXhhbXBsZS5jb20iLCJVc2VySW5mbyI6eyJVc2VyTmFtZSI6IjE1MDQ2MDA2MTIwIn0sImV4cCI6MTczMDk3MDkxNywiaWF0IjoxNzMwOTY3MzE3LCJqdGkiOiIzNzNkZjZlNC1mNTE0LTQ3MzUtYjk1Ni1jZGY0YzU4MTEyNWEifQ.fisrZlIzFr9gJPlRViig-7UHQntpKmIFvy4SGkk9v3e9CIo1JWPpm6NMYFuQj6GCktHGy51ogWVYiCR7A5OPj7-pMj-C3OKB3De9lCC2Jq-p6q0LFoxaFefvBKXOrjFhy5VHFljDOi9A4yEUc2eh3lZPKVqy096Lb0-ZK1WwBo_JIyalOcgtv4r31BXihKgd0YTRk_-hBlH2Y5gwUq4Lw7_2wbFGf2Yz32-FWNpidYL-Y8ietLRjT27BO4CnCBHdpCPuG7DEHeUnvW0IcJf_ZeIDATTChOrCDvr317L1zSRqYG2TAW5GHNMBD7FMqhK_F7Q4RVrlxlXd0RHpVJHQzQ',
          },
          url: 'https://service2.ediblefungus.cn/zhaobo/generalBusiness/generalQueryByTableNameWithOriginal',
            type: 'POST',
            data:{       
              RowAmount: 10,            //  传给后台的参数
              Data:'tableData',
              Condition:"shen='待审核'"
          },
          success:(tableData)=>{
            this.tableData = tableData
            console.log(tableData);
          },
       })
      },
      getList2(){
        $.ajax({
          headers:{
            'Content-Type':'application/x-www-form-urlencoded',
            Accesstoken:'eyJraWQiOiJteS1rZXktaWQiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiIxNTA0NjAwNjEyMCIsImF1ZCI6ImFwaS5leGFtcGxlLmNvbSIsImlzcyI6ImF1dGguZXhhbXBsZS5jb20iLCJVc2VySW5mbyI6eyJVc2VyTmFtZSI6IjE1MDQ2MDA2MTIwIn0sImV4cCI6MTczMDk3MDkxNywiaWF0IjoxNzMwOTY3MzE3LCJqdGkiOiIzNzNkZjZlNC1mNTE0LTQ3MzUtYjk1Ni1jZGY0YzU4MTEyNWEifQ.fisrZlIzFr9gJPlRViig-7UHQntpKmIFvy4SGkk9v3e9CIo1JWPpm6NMYFuQj6GCktHGy51ogWVYiCR7A5OPj7-pMj-C3OKB3De9lCC2Jq-p6q0LFoxaFefvBKXOrjFhy5VHFljDOi9A4yEUc2eh3lZPKVqy096Lb0-ZK1WwBo_JIyalOcgtv4r31BXihKgd0YTRk_-hBlH2Y5gwUq4Lw7_2wbFGf2Yz32-FWNpidYL-Y8ietLRjT27BO4CnCBHdpCPuG7DEHeUnvW0IcJf_ZeIDATTChOrCDvr317L1zSRqYG2TAW5GHNMBD7FMqhK_F7Q4RVrlxlXd0RHpVJHQzQ',
          },
          url: 'https://service2.ediblefungus.cn/zhaobo/generalBusiness/generalQueryByTableNameWithOriginal',
            type: 'POST',
            data:{       
              RowAmount: 10,            //  传给后台的参数
              Data:'tableData',
              Condition:"shen='已通过'"
          },
          success:(tableData)=>{
            this.tableData2 = tableData
            console.log(tableData);
          },
       })
      },
      getList3(){
        $.ajax({
          headers:{
            'Content-Type':'application/x-www-form-urlencoded',
            Accesstoken:'eyJraWQiOiJteS1rZXktaWQiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiIxNTA0NjAwNjEyMCIsImF1ZCI6ImFwaS5leGFtcGxlLmNvbSIsImlzcyI6ImF1dGguZXhhbXBsZS5jb20iLCJVc2VySW5mbyI6eyJVc2VyTmFtZSI6IjE1MDQ2MDA2MTIwIn0sImV4cCI6MTczMDk3MDkxNywiaWF0IjoxNzMwOTY3MzE3LCJqdGkiOiIzNzNkZjZlNC1mNTE0LTQ3MzUtYjk1Ni1jZGY0YzU4MTEyNWEifQ.fisrZlIzFr9gJPlRViig-7UHQntpKmIFvy4SGkk9v3e9CIo1JWPpm6NMYFuQj6GCktHGy51ogWVYiCR7A5OPj7-pMj-C3OKB3De9lCC2Jq-p6q0LFoxaFefvBKXOrjFhy5VHFljDOi9A4yEUc2eh3lZPKVqy096Lb0-ZK1WwBo_JIyalOcgtv4r31BXihKgd0YTRk_-hBlH2Y5gwUq4Lw7_2wbFGf2Yz32-FWNpidYL-Y8ietLRjT27BO4CnCBHdpCPuG7DEHeUnvW0IcJf_ZeIDATTChOrCDvr317L1zSRqYG2TAW5GHNMBD7FMqhK_F7Q4RVrlxlXd0RHpVJHQzQ',
          },
          url: 'https://service2.ediblefungus.cn/zhaobo/generalBusiness/generalQueryByTableNameWithOriginal',
            type: 'POST',
            data:{       
              RowAmount: 10,            //  传给后台的参数
              Data:'tableData',
              Condition:"shen='已拒绝'"
          },
          success:(tableData)=>{
            this.tableData3 = tableData
            console.log(tableData);
          },
       })
      },
      // 点击下拉的菜单值
      handleOpen(key, keyPath) {
        console.log(key, keyPath);
      },
      handleClose(key, keyPath) {
        console.log(key, keyPath);
      },
      //审核按钮
      handleClick(row) {
        this.dialogFormVisible1 = true;
        this.xin = row
      },
      handleClick2(row){
        this.dialogFormVisible2 = true;
        this.xin = row
      },
      handleClick3(row){
        this.dialogFormVisible3 = true;
        this.xin = row
      },
      toushen1(){

      },
      handleSizeChange(val) {
        console.log(`每页 ${val} 条`);
        this.pagesize = val
      },
      handleCurrentChange(val) {
        this.currentPage = val
        console.log(`当前页: ${val}`);
      },
      handleRowClick(row) {
      console.log(row)
      },

      //审核操作
      tongguo(){
        this.dialogFormVisible1 = false
        this.xin.shen = '已通过'
        console.log(this.xin,'xin');
        // window.location.href = './商铺登记.html?this.xin.shen='+'已通过'
        
        // 查到修改数据
        $.ajax({
          headers:{
            'Content-Type':'application/x-www-form-urlencoded',
            Accesstoken:'eyJraWQiOiJteS1rZXktaWQiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiIxNTA0NjAwNjEyMCIsImF1ZCI6ImFwaS5leGFtcGxlLmNvbSIsImlzcyI6ImF1dGguZXhhbXBsZS5jb20iLCJVc2VySW5mbyI6eyJVc2VyTmFtZSI6IjE1MDQ2MDA2MTIwIn0sImV4cCI6MTczMTEyMzQ5NSwiaWF0IjoxNzMxMTE5ODk1LCJqdGkiOiIyNDQ5ZmRiYS0wN2I3LTRhYjItOWU2My01MDZjMTZjYzg2N2QifQ.EWsxHStHI5JQHBkrhAKXkmM3-j_bexlE-zQN8LaKUuvYYOPxV6qPcLpSmHs0pbbHfkfeleU4gorL3fy5rQWMmaZOav5rV_dGUpNLcTozGPHWr3s7mT0VkZx80M2B1ebBFA_axN17zWEtfx6Yie-1nFXF9YX1gxuDThepZ3fkcjZk3HjjHlOhmln-8AcEYZK28xF07MIB2NDPS3u4Rs7AJC-SBsRZuEBPYUCQPsxjW2bIeiN9_Ou0yRaeVet0uI0HxTEn9vgftTDW9uN-ba_tK6AZDfAJVvIDQUPaHLEprwRiqOZXNFgoScz2wSn6DbXdgWO9icL_T97QKt0d3Cf7wg',
          },
          url: 'https://service2.ediblefungus.cn/zhaobo/generalBusiness/generalQueryByTableNameWithOriginal',
            type: 'POST',
            data:{       
              RowAmount: 10,            //  传给后台的参数
              Data:'tableData',
              Condition:"id='"+this.xin.id+"'"
          },
          success:(xin)=>{
            console.log(xin[0].shen);
            xin[0].shen = '已通过'
            console.log(xin[0].shen);
            console.log(xin);
            
              // 修改提交
              $.ajax({
                    headers:{                 // 请求头，ajax封装默认请求头一般可以不写
                      AccessToken:'eyJraWQiOiJteS1rZXktaWQiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiIxNTA0NjAwNjEyMCIsImF1ZCI6ImFwaS5leGFtcGxlLmNvbSIsImlzcyI6ImF1dGguZXhhbXBsZS5jb20iLCJVc2VySW5mbyI6eyJVc2VyTmFtZSI6IjE1MDQ2MDA2MTIwIn0sImV4cCI6MTczMTEyMzQ5NSwiaWF0IjoxNzMxMTE5ODk1LCJqdGkiOiIyNDQ5ZmRiYS0wN2I3LTRhYjItOWU2My01MDZjMTZjYzg2N2QifQ.EWsxHStHI5JQHBkrhAKXkmM3-j_bexlE-zQN8LaKUuvYYOPxV6qPcLpSmHs0pbbHfkfeleU4gorL3fy5rQWMmaZOav5rV_dGUpNLcTozGPHWr3s7mT0VkZx80M2B1ebBFA_axN17zWEtfx6Yie-1nFXF9YX1gxuDThepZ3fkcjZk3HjjHlOhmln-8AcEYZK28xF07MIB2NDPS3u4Rs7AJC-SBsRZuEBPYUCQPsxjW2bIeiN9_Ou0yRaeVet0uI0HxTEn9vgftTDW9uN-ba_tK6AZDfAJVvIDQUPaHLEprwRiqOZXNFgoScz2wSn6DbXdgWO9icL_T97QKt0d3Cf7wg',
                      'Content-Type':'application/x-www-form-urlencoded',
                    },
                    url: 'https://service2.ediblefungus.cn/zhaobo/generalBusiness/generalSave',
                    type: 'POST',
                    data:{                   //  传给后台的参数
                      Data:JSON.stringify({"Modify":{"tableData":xin}}) ,
                    },
                    success:(xin)=>{
                      if (xin.Status =='success') {
                        this.getList();//
                      }
                    },
                })
          },
        })
      
      },
      tongguo2(){
        this.dialogFormVisible2 = false
        this.xin.shen = '已拒绝'
        console.log(this.xin,'xin');

        
        // 查到修改数据
        $.ajax({
          headers:{
            'Content-Type':'application/x-www-form-urlencoded',
            Accesstoken:'eyJraWQiOiJteS1rZXktaWQiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiIxNTA0NjAwNjEyMCIsImF1ZCI6ImFwaS5leGFtcGxlLmNvbSIsImlzcyI6ImF1dGguZXhhbXBsZS5jb20iLCJVc2VySW5mbyI6eyJVc2VyTmFtZSI6IjE1MDQ2MDA2MTIwIn0sImV4cCI6MTczMTEyMzQ5NSwiaWF0IjoxNzMxMTE5ODk1LCJqdGkiOiIyNDQ5ZmRiYS0wN2I3LTRhYjItOWU2My01MDZjMTZjYzg2N2QifQ.EWsxHStHI5JQHBkrhAKXkmM3-j_bexlE-zQN8LaKUuvYYOPxV6qPcLpSmHs0pbbHfkfeleU4gorL3fy5rQWMmaZOav5rV_dGUpNLcTozGPHWr3s7mT0VkZx80M2B1ebBFA_axN17zWEtfx6Yie-1nFXF9YX1gxuDThepZ3fkcjZk3HjjHlOhmln-8AcEYZK28xF07MIB2NDPS3u4Rs7AJC-SBsRZuEBPYUCQPsxjW2bIeiN9_Ou0yRaeVet0uI0HxTEn9vgftTDW9uN-ba_tK6AZDfAJVvIDQUPaHLEprwRiqOZXNFgoScz2wSn6DbXdgWO9icL_T97QKt0d3Cf7wg',
          },
          url: 'https://service2.ediblefungus.cn/zhaobo/generalBusiness/generalQueryByTableNameWithOriginal',
            type: 'POST',
            data:{       
              RowAmount: 10,            //  传给后台的参数
              Data:'tableData',
              Condition:"id='"+this.xin.id+"'"
          },
          success:(xin)=>{
            console.log(xin[0].shen);
            xin[0].shen = '已拒绝'
            console.log(xin[0].shen);
            console.log(xin);
            
              // 修改提交
              $.ajax({
                    headers:{                 // 请求头，ajax封装默认请求头一般可以不写
                      AccessToken:'eyJraWQiOiJteS1rZXktaWQiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiIxNTA0NjAwNjEyMCIsImF1ZCI6ImFwaS5leGFtcGxlLmNvbSIsImlzcyI6ImF1dGguZXhhbXBsZS5jb20iLCJVc2VySW5mbyI6eyJVc2VyTmFtZSI6IjE1MDQ2MDA2MTIwIn0sImV4cCI6MTczMTEyMzQ5NSwiaWF0IjoxNzMxMTE5ODk1LCJqdGkiOiIyNDQ5ZmRiYS0wN2I3LTRhYjItOWU2My01MDZjMTZjYzg2N2QifQ.EWsxHStHI5JQHBkrhAKXkmM3-j_bexlE-zQN8LaKUuvYYOPxV6qPcLpSmHs0pbbHfkfeleU4gorL3fy5rQWMmaZOav5rV_dGUpNLcTozGPHWr3s7mT0VkZx80M2B1ebBFA_axN17zWEtfx6Yie-1nFXF9YX1gxuDThepZ3fkcjZk3HjjHlOhmln-8AcEYZK28xF07MIB2NDPS3u4Rs7AJC-SBsRZuEBPYUCQPsxjW2bIeiN9_Ou0yRaeVet0uI0HxTEn9vgftTDW9uN-ba_tK6AZDfAJVvIDQUPaHLEprwRiqOZXNFgoScz2wSn6DbXdgWO9icL_T97QKt0d3Cf7wg',
                      'Content-Type':'application/x-www-form-urlencoded',
                    },
                    url: 'https://service2.ediblefungus.cn/zhaobo/generalBusiness/generalSave',
                    type: 'POST',
                    data:{                   //  传给后台的参数
                      Data:JSON.stringify({"Modify":{"tableData":xin}}) ,
                    },
                    success:(xin)=>{
                      if (xin.Status =='success') {
                        this.getList2();//
                      }
                    },
                })
          },
        })
      
      },
      tongguo3(){
        this.dialogFormVisible3 = false
        this.xin.shen = '已通过'
        console.log(this.xin,'xin');

        
        // 查到修改数据
        $.ajax({
          headers:{
            'Content-Type':'application/x-www-form-urlencoded',
            Accesstoken:'eyJraWQiOiJteS1rZXktaWQiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiIxNTA0NjAwNjEyMCIsImF1ZCI6ImFwaS5leGFtcGxlLmNvbSIsImlzcyI6ImF1dGguZXhhbXBsZS5jb20iLCJVc2VySW5mbyI6eyJVc2VyTmFtZSI6IjE1MDQ2MDA2MTIwIn0sImV4cCI6MTczMTEyMzQ5NSwiaWF0IjoxNzMxMTE5ODk1LCJqdGkiOiIyNDQ5ZmRiYS0wN2I3LTRhYjItOWU2My01MDZjMTZjYzg2N2QifQ.EWsxHStHI5JQHBkrhAKXkmM3-j_bexlE-zQN8LaKUuvYYOPxV6qPcLpSmHs0pbbHfkfeleU4gorL3fy5rQWMmaZOav5rV_dGUpNLcTozGPHWr3s7mT0VkZx80M2B1ebBFA_axN17zWEtfx6Yie-1nFXF9YX1gxuDThepZ3fkcjZk3HjjHlOhmln-8AcEYZK28xF07MIB2NDPS3u4Rs7AJC-SBsRZuEBPYUCQPsxjW2bIeiN9_Ou0yRaeVet0uI0HxTEn9vgftTDW9uN-ba_tK6AZDfAJVvIDQUPaHLEprwRiqOZXNFgoScz2wSn6DbXdgWO9icL_T97QKt0d3Cf7wg',
          },
          url: 'https://service2.ediblefungus.cn/zhaobo/generalBusiness/generalQueryByTableNameWithOriginal',
            type: 'POST',
            data:{       
              RowAmount: 10,            //  传给后台的参数
              Data:'tableData',
              Condition:"id='"+this.xin.id+"'"
          },
          success:(xin)=>{
            console.log(xin[0].shen);
            xin[0].shen = '已通过'
            console.log(xin[0].shen);
            console.log(xin);
            
              // 修改提交
              $.ajax({
                    headers:{                 // 请求头，ajax封装默认请求头一般可以不写
                      AccessToken:'eyJraWQiOiJteS1rZXktaWQiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiIxNTA0NjAwNjEyMCIsImF1ZCI6ImFwaS5leGFtcGxlLmNvbSIsImlzcyI6ImF1dGguZXhhbXBsZS5jb20iLCJVc2VySW5mbyI6eyJVc2VyTmFtZSI6IjE1MDQ2MDA2MTIwIn0sImV4cCI6MTczMTEyMzQ5NSwiaWF0IjoxNzMxMTE5ODk1LCJqdGkiOiIyNDQ5ZmRiYS0wN2I3LTRhYjItOWU2My01MDZjMTZjYzg2N2QifQ.EWsxHStHI5JQHBkrhAKXkmM3-j_bexlE-zQN8LaKUuvYYOPxV6qPcLpSmHs0pbbHfkfeleU4gorL3fy5rQWMmaZOav5rV_dGUpNLcTozGPHWr3s7mT0VkZx80M2B1ebBFA_axN17zWEtfx6Yie-1nFXF9YX1gxuDThepZ3fkcjZk3HjjHlOhmln-8AcEYZK28xF07MIB2NDPS3u4Rs7AJC-SBsRZuEBPYUCQPsxjW2bIeiN9_Ou0yRaeVet0uI0HxTEn9vgftTDW9uN-ba_tK6AZDfAJVvIDQUPaHLEprwRiqOZXNFgoScz2wSn6DbXdgWO9icL_T97QKt0d3Cf7wg',
                      'Content-Type':'application/x-www-form-urlencoded',
                    },
                    url: 'https://service2.ediblefungus.cn/zhaobo/generalBusiness/generalSave',
                    type: 'POST',
                    data:{                   //  传给后台的参数
                      Data:JSON.stringify({"Modify":{"tableData":xin}}) ,
                    },
                    success:(xin)=>{
                      if (xin.Status =='success') {
                        this.getList3();//
                      }
                    },
                })
          },
        })
      
      },

      xinque(){
      this.dialogFormVisible = false
      
      this.form.shen = '待审核'
      this.form.date = getYMDHMSDate()
      this.form.address = this.form.addressa + this.form.addressb + this.form.addressc
      console.log(this.form);
      this.add.push(this.form) 
      console.log(this.add,'add');
      
      $.ajax({
          headers:{
            'Content-Type':'application/x-www-form-urlencoded',
            Accesstoken:'eyJraWQiOiJteS1rZXktaWQiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiIxNTA0NjAwNjEyMCIsImF1ZCI6ImFwaS5leGFtcGxlLmNvbSIsImlzcyI6ImF1dGguZXhhbXBsZS5jb20iLCJVc2VySW5mbyI6eyJVc2VyTmFtZSI6IjE1MDQ2MDA2MTIwIn0sImV4cCI6MTczMTA3Nzc3MiwiaWF0IjoxNzMxMDc0MTcyLCJqdGkiOiI1OGM3Nzk4Zi1hN2JmLTRmNGMtYjAwNi02MTYyMzc4MGVlODkifQ.cSJ24KCk5eEY5W7hepKw9PXUq-aEmON_LWY2JaHcu3qDvlEOiF4kHALvc-PhIvubC2u0KJDYkZR676O4OVLSxFk8m5CV-cb2FBt786EcPxUyuhnpKBQzn-g2MVbJmcvP6Nc6B9v76J8pC1X7XNnSXWkSR6qzPF2SSslK5JR52OOCCrtglOkkPqjp0FgdcoFIojDtnNgG9oobtARjzebNcxq6wmojDkTOrDGiIvIWOGWbW_Dzyiyu-eri2-3HxUcAf43dTBaZw-9WayWqEYwdqkk7gkkxAAJY8ItmKvngvHweQZ8WOtLX3cE_--c76Cv38yURxEiIrUutNmx-CPEVtw',
          },
          url: 'https://service2.ediblefungus.cn/zhaobo/generalBusiness/generalSave',
            type: 'POST',
            data:{   
            Data:JSON.stringify({"Add":{"tableData": this.add}}),
          },
          success:(add)=>{
            if(add.Status == 'success'){
              this.getList();
            }
          },
          error:(err)=>{          //  失败调用，200交互成功，500服务器出问题了，304权限不够，404不存在，405 get/post请求问题
            console.log(err);
          },
          dataType:'json' //转数据格式  
        })
    },
      san(row){
        row.shen = '已拒绝'
        console.log(row.id,'nishisha');
        
        // 查到修改数据
        $.ajax({
          headers:{
            'Content-Type':'application/x-www-form-urlencoded',
            Accesstoken:'eyJraWQiOiJteS1rZXktaWQiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiIxNTA0NjAwNjEyMCIsImF1ZCI6ImFwaS5leGFtcGxlLmNvbSIsImlzcyI6ImF1dGguZXhhbXBsZS5jb20iLCJVc2VySW5mbyI6eyJVc2VyTmFtZSI6IjE1MDQ2MDA2MTIwIn0sImV4cCI6MTczMTA2MDYyMiwiaWF0IjoxNzMxMDU3MDIyLCJqdGkiOiJjMDViYmE4Yy0wNDdlLTRlYTMtOTlhNi04ZGRhMWExYjM5YWMifQ.ipZE4COcqMM-c9YmnnBnaoh7hU4swReXBgrXA1y1vNTHLyDua2LXVmYMIGso3Nx7FIeITAo9vaswgxDBtuBC86xdlJqnBc7NtWJK5Ak5NOqbHykNpDEWCKcg84EqZXzwL0V5PL53_Gnvzsj4RSZSTMHJj1X8T1r68iPSi3uaKPYuY9Xqa6YSEhgOIghfizowdwDlyjq840rnvSqETp7NOELQxop-HuyddQbSc2rx4IxqiK2W9y7SiJRPt7jWkOb5HtcH8ABQijNWC6NyHYr28r6UT01SUdv_GNwFFg5vQZJw9fhPTHlRNwc6QfOr4akeYWZYWEEWfziqq2j8LgCwFw',
                  // JSONstringify({“Modify”：{“表名”：___,[{}]}
          },
          url: 'https://service2.ediblefungus.cn/zhaobo/generalBusiness/generalQueryByTableNameWithOriginal',
            type: 'POST',
            data:{       
              RowAmount: 10,            //  传给后台的参数
              Data:'tableData',
              Condition:"id='"+row.id+"'"
          },
          success:(row)=>{
            console.log(row[0].shen);
            row[0].shen = '已拒绝'
            // row.shen = '已拒绝'
            // console.log(row,'成功的row')
          // 修改提交
          $.ajax({
                headers:{                 // 请求头，ajax封装默认请求头一般可以不写
                  AccessToken:'eyJraWQiOiJteS1rZXktaWQiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiIxNTA0NjAwNjEyMCIsImF1ZCI6ImFwaS5leGFtcGxlLmNvbSIsImlzcyI6ImF1dGguZXhhbXBsZS5jb20iLCJVc2VySW5mbyI6eyJVc2VyTmFtZSI6IjE1MDQ2MDA2MTIwIn0sImV4cCI6MTczMTA2MDYyMiwiaWF0IjoxNzMxMDU3MDIyLCJqdGkiOiJjMDViYmE4Yy0wNDdlLTRlYTMtOTlhNi04ZGRhMWExYjM5YWMifQ.ipZE4COcqMM-c9YmnnBnaoh7hU4swReXBgrXA1y1vNTHLyDua2LXVmYMIGso3Nx7FIeITAo9vaswgxDBtuBC86xdlJqnBc7NtWJK5Ak5NOqbHykNpDEWCKcg84EqZXzwL0V5PL53_Gnvzsj4RSZSTMHJj1X8T1r68iPSi3uaKPYuY9Xqa6YSEhgOIghfizowdwDlyjq840rnvSqETp7NOELQxop-HuyddQbSc2rx4IxqiK2W9y7SiJRPt7jWkOb5HtcH8ABQijNWC6NyHYr28r6UT01SUdv_GNwFFg5vQZJw9fhPTHlRNwc6QfOr4akeYWZYWEEWfziqq2j8LgCwFw',
                  'Content-Type':'application/x-www-form-urlencoded',
                },
                url: 'https://service2.ediblefungus.cn/zhaobo/generalBusiness/generalSave',
                type: 'POST',
                data:{                   //  传给后台的参数
                  Data:JSON.stringify({"Modify":{"tableData":row}}) ,
                },
                success:(row)=>{
                  if (row.Status=='success') {
                    this.getList();//
                  }
                },
             })

          },
                error:(err)=>{          //  失败调用，200交互成功，500服务器出问题了，304权限不够，404不存在，405 get/post请求问题
                  console.log(err);
                },
                dataType:'json' //转数据格式
          })
          // 
      },
      san2(row){
        row.shen = '已拒绝'
        console.log(row.id,'nishisha');
        
        // 查到修改数据
        $.ajax({
          headers:{
            'Content-Type':'application/x-www-form-urlencoded',
            Accesstoken:'eyJraWQiOiJteS1rZXktaWQiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiIxNTA0NjAwNjEyMCIsImF1ZCI6ImFwaS5leGFtcGxlLmNvbSIsImlzcyI6ImF1dGguZXhhbXBsZS5jb20iLCJVc2VySW5mbyI6eyJVc2VyTmFtZSI6IjE1MDQ2MDA2MTIwIn0sImV4cCI6MTczMTA2MDYyMiwiaWF0IjoxNzMxMDU3MDIyLCJqdGkiOiJjMDViYmE4Yy0wNDdlLTRlYTMtOTlhNi04ZGRhMWExYjM5YWMifQ.ipZE4COcqMM-c9YmnnBnaoh7hU4swReXBgrXA1y1vNTHLyDua2LXVmYMIGso3Nx7FIeITAo9vaswgxDBtuBC86xdlJqnBc7NtWJK5Ak5NOqbHykNpDEWCKcg84EqZXzwL0V5PL53_Gnvzsj4RSZSTMHJj1X8T1r68iPSi3uaKPYuY9Xqa6YSEhgOIghfizowdwDlyjq840rnvSqETp7NOELQxop-HuyddQbSc2rx4IxqiK2W9y7SiJRPt7jWkOb5HtcH8ABQijNWC6NyHYr28r6UT01SUdv_GNwFFg5vQZJw9fhPTHlRNwc6QfOr4akeYWZYWEEWfziqq2j8LgCwFw',
                  // JSONstringify({“Modify”：{“表名”：___,[{}]}
          },
          url: 'https://service2.ediblefungus.cn/zhaobo/generalBusiness/generalQueryByTableNameWithOriginal',
            type: 'POST',
            data:{       
              RowAmount: 10,            //  传给后台的参数
              Data:'tableData',
              Condition:"id='"+row.id+"'"
          },
          success:(row)=>{
            console.log(row[0].shen);
            row[0].shen = '已拒绝'
            // row.shen = '已拒绝'
            // console.log(row,'成功的row')
          // 修改提交
          $.ajax({
                headers:{                 // 请求头，ajax封装默认请求头一般可以不写
                  AccessToken:'eyJraWQiOiJteS1rZXktaWQiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiIxNTA0NjAwNjEyMCIsImF1ZCI6ImFwaS5leGFtcGxlLmNvbSIsImlzcyI6ImF1dGguZXhhbXBsZS5jb20iLCJVc2VySW5mbyI6eyJVc2VyTmFtZSI6IjE1MDQ2MDA2MTIwIn0sImV4cCI6MTczMTA2MDYyMiwiaWF0IjoxNzMxMDU3MDIyLCJqdGkiOiJjMDViYmE4Yy0wNDdlLTRlYTMtOTlhNi04ZGRhMWExYjM5YWMifQ.ipZE4COcqMM-c9YmnnBnaoh7hU4swReXBgrXA1y1vNTHLyDua2LXVmYMIGso3Nx7FIeITAo9vaswgxDBtuBC86xdlJqnBc7NtWJK5Ak5NOqbHykNpDEWCKcg84EqZXzwL0V5PL53_Gnvzsj4RSZSTMHJj1X8T1r68iPSi3uaKPYuY9Xqa6YSEhgOIghfizowdwDlyjq840rnvSqETp7NOELQxop-HuyddQbSc2rx4IxqiK2W9y7SiJRPt7jWkOb5HtcH8ABQijNWC6NyHYr28r6UT01SUdv_GNwFFg5vQZJw9fhPTHlRNwc6QfOr4akeYWZYWEEWfziqq2j8LgCwFw',
                  'Content-Type':'application/x-www-form-urlencoded',
                },
                url: 'https://service2.ediblefungus.cn/zhaobo/generalBusiness/generalSave',
                type: 'POST',
                data:{                   //  传给后台的参数
                  Data:JSON.stringify({"Modify":{"tableData":row}}) ,
                },
                success:(row)=>{
                  if (row.Status=='success') {
                    this.getList2();//
                  }
                },
             })

          },
                error:(err)=>{          //  失败调用，200交互成功，500服务器出问题了，304权限不够，404不存在，405 get/post请求问题
                  console.log(err);
                },
                dataType:'json' //转数据格式
          })
          // 
      },
  },

      })
      
    

</script>
</html>